package com.yoomiito.app.utils

//常量
sealed class Const {

    //通用
    object Common{
        const val Title = "title"
        const val Position = "position"
        const val ShowCheckBox = "show_checkbox"
        const val Data = "data"
        const val YouSearchHistory = "you_pin_search_history"
        const val ShowTypeCache = "show_type_cache"//用于记录显示类型的缓存
        const val ADShowType = "adShowType"//广告缓存的key
        const val ConfigDialogType= "configDialogType"//配置弹窗缓存的key
        const val Type = "type"
        const val Key = "key"
        const val ShowUserPermissionTip = "show_user_permission_tip" //记录用户权限弹窗是否显示
    }

    object Url{
        const val PrivacyAgreement = 23
        const val UserAgreement = 13
        const val SddVipRights = 24
        const val YiJiaYou = 25
        const val MeiTuan = 26
        const val CreditCard = 27
    }

    //商品
    object Goods{
        const val GOODS_ID = "goodsId"
        const val GOODS_MAIN_TYPE = "goodsMainType"//产品大类  分淘宝 自营
        const val GOODS_SMALL_TYPE = "goodsSmallType" //自营商品类型
        const val GOODS_TYPE = "goodsType" //自定义商品类型
        const val ADD_SHOP_CAR = "addShopCar"//添加购物车
    }

    //活动
    object Act{
        const val ACT_ID = "actID"//活动Id
        const val ACT_TYPE = "actType"//活动类型
    }

    object RequestCode{
        const val AddressCode = 3 //等同于AllCode.BuyAct
        const val REQUESTCODE = "RequestCode"
        const val RESULTCode = "ResultCode"
    }

    object PageSize{
        const val Size_10 = 10
        const val Size_20 = 20
        const val Size_40 = 40
    }
}